import _ from "lodash";
export function isEqual(value1: any, value2: any) {
    if (typeof value1 === 'string' && typeof value2 === 'string') {
        return _.camelCase(value1).toLowerCase() === _.camelCase(value2).toLowerCase();
    }
    return _.isEqual(value1, value2);
}
export function setBGUrl(url: string) {
    document.body.style.backgroundImage = `url(${url})`;
}

export default { _, isEqual, setBGUrl }